<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@page import="com.example.cheng.User" %><%--导入--%>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<h1>登录界面</h1>
<form action="DLServlet" method="post">
    <table width="234" height="115" border="1">
        <tr>
            <td width="53">账号：</td>
            <td width="131"><label>
                <input type="text" name="stuno" />
            </label></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><label>
                <input type="text" name="stuname" />
            </label></td>
        </tr>
        <tr>
            <td>角色：</td>
            <td><label>
                <select name="role">
                    <option value="1">管理员</option>
                    <option value="0">普通用户</option>
                </select>
            </label></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td><label>
                <input type="submit" name="Submit" value="登录" />
            </label></td>
        </tr>
    </table>
</form>
</body>
</html>